package com.bdqn.vueboot.entity;


import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 审批表(ExamineApprove)表实体类
 *
 * @author makejava
 * @since 2022-12-03 09:09:35
 */
@SuppressWarnings("serial")
@Data
public class ExamineApprove extends Model<ExamineApprove> {
    //审批id
    private Long examineId;
    //审批部门id
    private Long examineDepartmentId;
    //审批人
    private Long examineDepartmentName;
    //审批意见，1同意2不同意
    private Integer examineOpinion;
    //审批内容
    private String examineContent;
    //审批方式1：网页 2：短信
    private Integer examineWay;
    //审批时间
    private LocalDateTime examineTime;
    //创建时间
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Long creationId;
    //创建时间
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime creationTime;
    //更新时间
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Long updateId;
    //修改时间
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;
    //描述
    private String  examine_Describe;


    /**
     * 获取主键值
     *
     * @return 主键值
     */
    @Override
    protected Serializable pkVal() {
        return this.examineId;
    }
    }

